package com.cskaoyan.mapper.wx.nj;

import com.cskaoyan.bean.wx.nj.CskaoyanmallFootprint;
import com.cskaoyan.bean.wx.nj.CskaoyanmallFootprintExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CskaoyanmallFootprintMapper {
    long countByExample(CskaoyanmallFootprintExample example);

    int deleteByExample(CskaoyanmallFootprintExample example);

    /**
     * delete by primary key
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer id);




    List<CskaoyanmallFootprint> selectByExample(CskaoyanmallFootprintExample example);

    /**
     * select by primary key
     * @param id primary key
     * @return object by primary key
     */
    CskaoyanmallFootprint selectByPrimaryKey(Integer id);

    List<CskaoyanmallFootprint> selectAllByUserId(@Param("userId") Integer userId);


}